package eteam.aps.gateway.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.annotation.Order;

/**
 * 注入默认配置
 */
@Configuration
//@PropertySource(value = {"classpath:application.properties", "classpath:abc.properties"})
public class GatewayConfig {
    @Value("${gateway.system-url}")
    private String systemUrl;

    @Bean
    @Order(value = 1)
    public String getSystemUrl() {
        return systemUrl;
    }
}